<%@ page import="dto.attendenceDTO" %>
<%@ page import="vo.employeesVO" %>
<%@ page import="dto.employeesDTO" %>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<%
	String leave_sessionMid = (String)session.getAttribute("sessionMid");
	
	employeesDTO leave_edto = new employeesDTO();
	
	employeesVO leave_evo;
	
	leave_evo= leave_edto.getInfo(leave_sessionMid);
	
	attendenceDTO leave_adto = new attendenceDTO();
	
	leave_adto.check_out(leave_evo);
	
 	response.sendRedirect("../index/main.jsp");
%>

</body>
</html>